package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播图对象 t_carousel_image
 * 
 * @author administrator
 * @date 2025-02-16
 */
public class TCarouselImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 照片 */
    @Excel(name = "照片")
    private String image;

    /** 普法类型(1-首页2-普法) */
    @Excel(name = "普法类型(1-首页2-普法)")
    private String popularizeLawType;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 普法id */
    @Excel(name = "普法id")
    private Long popularizeLawId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setPopularizeLawType(String popularizeLawType)
    {
        this.popularizeLawType = popularizeLawType;
    }

    public String getPopularizeLawType()
    {
        return popularizeLawType;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setPopularizeLawId(Long popularizeLawId)
    {
        this.popularizeLawId = popularizeLawId;
    }

    public Long getPopularizeLawId()
    {
        return popularizeLawId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("popularizeLawType", getPopularizeLawType())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("popularizeLawId", getPopularizeLawId())
            .toString();
    }
}
